package com.flame.parameter.mapper;

import java.util.List;

import com.flame.parameter.controller.vo.DictionaryItemVo;
import com.flame.parameter.entity.DictionaryItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *
 *
 * @author wuxintong
 * @since 2022/10/26
 */
@Mapper
public interface DictionaryItemMapper {

    List<DictionaryItem> page(DictionaryItemVo dictionaryItemVo);

    void insert(DictionaryItem dictionaryItem);

    DictionaryItem selectById(@Param("dictCode") String dictCode, @Param("dictItemValue") String dictItemValue);

    void updateById(DictionaryItem dictionaryItem);

    void deleteById(@Param("dictCode") String dictCode, @Param("dictItemValue") String dictItemValue);
}
